﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="SanPhamDanhMuc.aspx.cs" Inherits="Web.SanPhamDanhMuc" %>
<%@ Register TagPrefix="cc1" Namespace="SiteUtils" Assembly="Collectionpager" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<div class="c_center">
<div style="text-align:center; color:#521422; padding-top:5px; border-bottom:1px solid #CCDEEE;">
<h2>Sản phẩm danh mục</h2>
</div>
<div>
    <asp:DataList ID="DataList1" RepeatColumns="3" runat="server">
    <ItemTemplate>
    <center>
        <table class="sanpham">
    <tr>
    <td>
       <a href="../ChiTietSanPham.aspx?Id=<%#Eval("MaSP")%>"><asp:Image ID="Image2" runat="server" ImageUrl='<%#Eval("HinhAnh")%>' Width="175px" Height="190" > </asp:Image></a>
    </td>
    </tr>
    <tr>
    <td>
        <asp:Label ID="Label2" runat="server" Text='<%# Eval("TenSP") %>'></asp:Label>
    </td>
    </tr>
        <tr>
     <td style="color:Silver; font-size:12px">
        <asp:Label ID="Label3" runat="server" Text='<%# Eval("MaSP") %>'></asp:Label>
        </td>
        <tr>
       <td style="color:Red; font-size:14px; font-weight:bold" >
         <asp:Label ID="Label4" runat="server" Text='<%# Eval("Gia") %>'></asp:Label>
    </td>
    </tr>
    </tr>
   </table>
   </center>
    </ItemTemplate> 
    </asp:DataList>
    
 
    <cc1:CollectionPager ID="CollectionPager1" runat="server"
    FirstText="<<" 
    BackText="< &amp;nbsp;" 
    LabelText="" 
    LastText=">>" 
    NextText="&amp;nbsp; >" 
    ShowFirstLast="True" 
    SliderSize="5" PagingMode="PostBack"
    BackNextLinkSeparator="" BackNextLocation="Split" 
    PageNumbersDisplay="Numbers" ResultsLocation="None" 
    BackNextDisplay="Buttons">
    </cc1:CollectionPager>
    
</div>
</div>



</asp:Content>
